<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
var newWind;
function putJumpCode(){
	var cnt = 12;
	newWind.document.write('<html>\n');
	newWind.document.write('<title>HtmlDiff Navigation</title>\n');
	newWind.document.write('<body>\n');
	newWind.document.write('<form name="jump">\n');
	newWind.document.write('<input type="button" value=" |&lt; " name="First" onclick=goto_first(this.form)>&nbsp;')
	newWind.document.write('<input type="button" value=" &lt; " name="Prev" onclick=goto_prev(this.form)>&nbsp;&nbsp;\n');
	newWind.document.write('<select name=url onchange=menu_goto(this.form)> \n');
	for (var i=0; i<cnt ;i++ ) {
		newWind.document.write('<option value="#c'+i+'">Change #'+(i+1)+ '</option> \n');
		}
	newWind.document.write('');
	newWind.document.write('</select>&nbsp;&nbsp;\n');
	newWind.document.write('<input type="button" value=" &gt; " name="Next"\n');
	newWind.document.write('onclick=goto_next(this.form)>\n');
	newWind.document.write('<input type="button" value=" &gt| " name="Last"\n');
	newWind.document.write('onclick=goto_last(this.form)>\n');
	newWind.document.write('</form>\n');
	newWind.document.write('');
	newWind.document.write('<form method="POST">\n');
	newWind.document.write('<p align="center"><i><font size="3">Generated\n');
	newWind.document.write('by <a href="http://www.ComponentSoftware.com/products/htmldiff" target="_blank">HtmlDiff</a> \n');
	newWind.document.write('</form>\n');
	newWind.document.write('</body>\n');
	newWind.document.write('</html>\n');
	newWind.document.write('<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">\n');
	newWind.document.write('<!--\n');
	newWind.document.write('');
	newWind.document.write('var directCloseFlag=1;\n');
	newWind.document.write('');
	newWind.document.write('function menu_goto( menuform )\n');
	newWind.document.write('{\n');
	newWind.document.write('  var baseurl = opener.location.href ;\n');
	newWind.document.write('  var idx = baseurl.indexOf("#");\n');
	newWind.document.write('  if (idx > -1) {\n');
	newWind.document.write('	baseurl = baseurl.slice(0, idx);\n');
	newWind.document.write('  }');
	newWind.document.write('  selecteditem = menuform.url.selectedIndex ;\n');
	newWind.document.write('  newurl = menuform.url.options[ selecteditem ].value ;\n');
	newWind.document.write('  if (newurl.length != 0) {\n');
	newWind.document.write('    	opener.top.location.href = baseurl + newurl ;\n');
	newWind.document.write('  }');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('function goto_prev( menuform )\n');
	newWind.document.write('{\n');
	newWind.document.write('	if(menuform.url.selectedIndex>0) menuform.url.selectedIndex--;\n');
	newWind.document.write('	menu_goto( menuform )\n');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('function goto_first( menuform )\n');
	newWind.document.write('{\n');
	newWind.document.write('	menuform.url.selectedIndex = 0;	\n');
	newWind.document.write('	menu_goto( menuform );\n');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('function goto_last( menuform )\n');
	newWind.document.write('{\n');
	newWind.document.write('	menuform.url.selectedIndex = menuform.url.options.length-1;	\n');
	newWind.document.write('	menu_goto( menuform );\n');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('function goto_next( menuform )\n');
	newWind.document.write('{\n');
	newWind.document.write('	if(menuform.url.options.length > (menuform.url.selectedIndex+1))\n');
	newWind.document.write('	menuform.url.selectedIndex++;\n');
	newWind.document.write('	menu_goto( menuform )\n');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('function restore()\n');
	newWind.document.write('{\n');
	newWind.document.write('    	focus();\n');
	newWind.document.write('	menu_goto(jump);\n');
	newWind.document.write('}');
	newWind.document.write('');
	newWind.document.write('goto_first(jump)\n');
	newWind.document.write('//-->\n');
	newWind.document.write('<');
	newWind.document.write('/SCRIPT>\n');
}
function pop_navigate(){
var isOpen = false
try {
isOpen = (newWind != null) && (!newWind.closed)
} catch (e) {}
  if (!isOpen) {
    newWind =  window.open("" ,"HtmlDiffJumpWindow","width=270,height=40")
    if (newWind.opener == null) { // for Nav 2.0x
      newWind.opener = self // this creates and sets a new prop
    }	putJumpCode();
  
} 
else 
{	newWind.execScript("restore()", "JavaScript");
  }
}
function exit(){
var isOpen = false
try {
isOpen = (newWind != null) && (!newWind.closed)
} catch (e) {}
if (isOpen) {
	newWind.close();
  }
}
//--></SCRIPT><body onunload=exit()><form method="POST">  <p align="center"><i><font size="3">Difference Analysis Generated by   <a href="http://www.ComponentSoftware.com/products/htmldiff" target="_blank">HtmlDiff</a> on  2010-12-14 21:45</font></i>&nbsp;&nbsp;
  <input type="button" value="Navigate Changes" name="Navigate" onclick=pop_navigate()></p></form></body><html>
<style type="text/css">
<!--
.HDNormal {  color: #000000;background:  #ffffff;text-decoration:none}
.HDDeleted {  color: #ff0000;background:  #ffffff;text-decoration:line-through}
.HDImgDeleted {  color: #ff0000;background-color: #ff0000}
.HDAdded {  color: #000000;background:  #ffff00;text-decoration:none}
-->
</style>
<body>
<pre>
 <span class="HDNormal">
# WELLNESS PROFILE - P0001

@prefix : &lt;http://www.ruleml.org/WellnessRules#&gt;.
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;. 
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;.
@prefix math: &lt;http://www.w3.org/2000/10/swap/math#&gt;.
@prefix log: &lt;http://www.w3.org/2000/10/swap/log#&gt;.
@prefix e: &lt;http://eulersharp.sourceforge.net/2003/03swap/log-rules#&gt;. 
@prefix list: &lt;http://www.w3.org/2000/10/swap/list#&gt;.
@prefix str: &lt;http://www.w3.org/2000/10/swap/string#&gt;.

##############
# RSVP QUERY #
##############

:rsvpQuery_1
    rdf:type    :RSVPQuery;
    :profileID  :p0001;
    :minRSVP    2;
    :maxRSVP    6.  
    
############
# CALENDAR #
############

:calendar_1
    rdf:type    :Calendar;
    :profileID  :p0001;
    :calendarID :c0001;
    :cal_url    :"http://www.google.com/calendar/feeds/swtproject1%40gmail.com/private-e1e57fb47ebeece40f5a82b0e0620c64/full".
#   :cal_user   :swtproject1;
#   :cal_pass   :swt12345;

    
#####################
# EVENTS - Possible #
#####################

<a name="diff" id="c0"><span class="HDDeleted">:event_1
</span></a><span class="HDAdded">
</span><span class="HDAdded">:event_1cal
</span>    rdf:type    :Event;
    :calendarID :c0001;
    :aspect <a name="diff" id="c1"><span class="HDDeleted">    ?;</span></a><span class="HDAdded">:Yoga;</span>
    :tense      :Possible;
    :startDateTime  [:year <a name="diff" id="c2"><span class="HDDeleted">2009; :month 6; :day 15; :hour 10; :minute 15];</span></a><span class="HDAdded">2010; :month 11; :day 23; :hour 14; :minute 30];</span>
    :endDateTime    [:year <span class="HDDeleted">2009; :month 6; :day 15; :hour 11; :minute 15].</span><span class="HDAdded">2010; :month 11; :day 23; :hour 15; :minute 30].</span>
    
<a name="diff" id="c3"><span class="HDDeleted">:event_2
</span></a><span class="HDAdded">:event_2cal
</span>    rdf:type    :Event;
    :calendarID :c0001;
    :aspect <a name="diff" id="c4"><span class="HDDeleted">    ?;</span></a><span class="HDAdded">:Walking;</span>
    :tense      :Possible;
    :startDateTime  [:year <a name="diff" id="c5"><span class="HDDeleted">2009; :month 6; :day 13; :hour 16;</span></a><span class="HDAdded">2010; :month 11; :day 23; :hour 11;</span> :minute 0];
    :endDateTime    [:year <span class="HDDeleted">2009; :month 6; :day 13; :hour 17; :minute </span><span class="HDAdded">2010; :month 11; :day 23; :hour 13; :minute 3</span>0].
    
<a name="diff" id="c6"><span class="HDDeleted">:event_3
</span></a><span class="HDAdded">:event_3cal
</span>    rdf:type    :Event;
    :calendarID :c0001;
    :aspect <a name="diff" id="c7"><span class="HDDeleted">    ?;</span></a><span class="HDAdded">:Walking;</span>
    :tense      :Possible;
    :startDateTime  [:year <a name="diff" id="c8"><span class="HDDeleted">2009; :month 12; :day 14; :hour 14;</span></a><span class="HDAdded">2010; :month 11; :day 23; :hour 7;</span> :minute 0];
    :endDateTime    [:year <span class="HDDeleted">2009; :month 12; :day 14; :hour 15;</span><span class="HDAdded">2010; :month 11; :day 23; :hour 8;</span> :minute 30].
    
<a name="diff" id="c9"><span class="HDDeleted">:event_4
</span></a><span class="HDAdded">:event_4cal
</span>    rdf:type    :Event;
    :calendarID :c0001;
    :aspect <a name="diff" id="c10"><span class="HDDeleted">    ?;</span></a><span class="HDAdded">:Swimming;</span>
    :tense      :Possible;
<a name="diff" id="c11"><span class="HDAdded">    :startDateTime  [:year 2010; :month 11; :day 22; :hour 14; :minute 0];
</span></a><span class="HDAdded">    :endDateTime    [:year 2010; :month 11; :day 22; :hour 16; :minute 0].
</span><span class="HDAdded">
</span><span class="HDAdded">:event_5cal
</span><span class="HDAdded">    rdf:type    :Event;
</span><span class="HDAdded">    :calendarID :c0001;
</span><span class="HDAdded">    :aspect :Swimming;
</span><span class="HDAdded">    :tense  :Possible;
</span>    :startDateTime  [:year <span class="HDDeleted">2009; :month 12; :day 12;</span><span class="HDAdded">2010; :month 11; :day 30;</span> :hour 12; :minute 0];
    :endDateTime    [:year <span class="HDDeleted">2009; :month 12; :day 12; :hour 17;</span><span class="HDAdded">2010; :month 11; :day 30; :hour 13;</span> :minute 0].
<span class="HDAdded">
</span><span class="HDAdded">    
</span><span class="HDAdded">    
</span><span class="HDAdded">    
</span>
###############
# PAST EVENTS #
###############

:event_5
    rdf:type    :Event;
    :calendarID :c0001;
    :aspect     :Running;
    :tense      :Past;
    :startDateTime  [:year 2009; :month 6; :day 12; :hour 16; :minute 0];
    :endDateTime    [:year 2009; :month 6; :day 12; :hour 17; :minute 0].
    
#######
# MAP #
#######

:map_1
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      :m0001.
    
###########################
# EXPECTED FITNESS LEVELS #
###########################

:fitness_1
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year 2009; :month 6; :day 15; :hour 10; :minute 15];
    :expectedFitness    6.

:fitness_2
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year 2009; :month 6; :day 13; :hour 16; :minute 0];
    :expectedFitness    6.
    
:fitness_3
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year 2009; :month 12; :day 14; :hour 14; :minute 0];
    :expectedFitness    3.
    
:fitness_4
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year 2009; :month 12; :day 12; :hour 12; :minute 0];
    :expectedFitness    4.
    
##################################
# MEETUP LOCATION FITNESS LEVELS #
##################################

:level_1
    rdf:type        :Level;
    :profileID      :p0001;
    :activity       :Walking;
    :inOut          :Out;
    :location       :ConniesStation;
    :duration       [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel   1.
    
:level_2
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       2.
    
:level_3
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       3.
    
:level_4
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       4.
    
:level_5
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       5.
    
:level_6
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :DebbiesValley;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       2.
    
:level_7
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :DebbiesValley;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       3.
    
:level_8
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :DebbiesValley;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       4.
    
:level_9
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :DebbiesValley;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       5.
    
:level_10
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :location   :DebbiesValley;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       7.
    
:level_11
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel 3.
    
:level_12
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       4.
    
:level_13
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       5.
    
:level_14
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       8.
    
:level_15
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :ConniesStation;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       9.
    
:level_16
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :PetersWagon;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       2.

:level_17
    rdf:type    :Level; 
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :PetersWagon;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       3.
    
:level_18
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :PetersWagon;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       5.
    
:level_19
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :PetersWagon;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       7.
    
:level_20
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :PetersWagon;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       10.
    
:level_21
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :AllensBrook;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       1.
    
:level_22
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :AllensBrook;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       2.
    
:level_23
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :AllensBrook;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       4.
    
:level_24
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :AllensBrook;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       6.
    
:level_25
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :location   :AllensBrook;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       8.
    
:level_26
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :location   :JohnsPool;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       2.
    
:level_27
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :location   :JohnsPool;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       3.
    
:level_28
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :location   :JohnsPool;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       4.
    
:level_29
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :location   :JohnsPool;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       5.
    
:level_30
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :location   :JohnsPool;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       7.
    
:level_31
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       3.
    
:level_32
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       4.
    
:level_33
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       5.
    
:level_34
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       6.
    
:level_35
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       9.
    
:level_36
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       2.
    
:level_37
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       3.
    
:level_38
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       5.
    
:level_39
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       7.
    
:level_40
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :location   :SandrasLake;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       8.
    
:level_41
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :location   :LukesHall;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 10];
    :fitnessLevel       1.
    
:level_42
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :location   :LukesHall;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 20];
    :fitnessLevel       2.
    
:level_43
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :location   :LukesHall;
    :duration   [:year 0; :month 0; :day 0; :hour 0; :minute 40];
    :fitnessLevel       3.
    
:level_44
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :location   :LukesHall;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       4.
    
:level_45
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :location   :LukesHall;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       5.
    
:level_46
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :In;
    :location   :JoesGym;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 0];
    :fitnessLevel       5.
    
:level_47
    rdf:type    :Level;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :In;
    :location   :JoesGym;
    :duration   [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       7.
    
:level_48
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Running;
    :inOut              :In;
    :location           :JoesGym;
    :duration           [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       8.
    
:level_49
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Running;
    :inOut              :In;
    :location           :JoesGym;
    :duration           [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       9.
    
:level_50
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Running;
    :inOut              :In;
    :location           :JoesGym;
    :duration           [:year 0; :month 0; :day 0; :hour 1; :minute 20];
    :fitnessLevel       10.
    
#########################
# PREFERRED GROUP SIZES #
#########################

:groupSize_1
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :min        1;
    :max        20.
    
:groupSize_2
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :min        2;
    :max        8.
    
:groupSize_3
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :min        1;
    :max        3.
    
:groupSize_4
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :Out;
    :min        2;
    :max        4.
    
:groupSize_5
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :min        1;
    :max        12.
    
:groupSize_6
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :min        1;
    :max        7.
    
:groupSize_6
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :In;
    :min        2;
    :max        6.
    
##############################
# ACTIVITIES - WALKING (OUT) #
##############################
{
 ?calendar
    rdf:type    :Calendar;
    :profileID  :p0001;
    :calendarID ?CalendarID.
 
 ?groupSize
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Walking;
    :inOut      :Out;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.
        
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Walking;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].

 ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      :Spring.    
    
 ?forecast
    rdf:type    :Forecast;
    :location   ?Location;
    :dateTime   [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?AnyHour; :minute ?AnyMinute; :second ?AnySecond];
    :lowTemp    ?LowTemp;
    :highTemp   ?HighTemp;
    :avgTemp    ?AvgTemp;
    :conditions ?Conditions.
    
 ?Conditions str:notMatches "Raining".
 
 ?map
    rdf:type        :Map;
    :profileID      :p0001;
    :mapID          ?MapID.
    
 ?meetup
    rdf:type        :Meetup;
    :mapID          ?MapID;
    :activity       :Walking;
    :inOut          :Out;
    :location       ?Place. 
    
 ?level
    rdf:type        :Level;
    :profileID      :p0001;
    :activity       :Walking;
    :inOut          :Out;
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Walking;
    :inOut          :Out;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

##############################
# ACTIVITIES - RUNNING (OUT) #
##############################

{
 ?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Running;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?groupSize
    rdf:type    :GroupSize;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :Out;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.
    
 
 ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      ?Season.    

 ?Season log:notEqualTo :winter.
    
 ?forecast
    rdf:type    :Forecast;
    :location   ?Location;
    :dateTime   [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?AnyHour; :minute ?AnyMinute; :second ?AnySecond];
    :lowTemp    ?LowTemp;
    :highTemp   ?HighTemp;
    :avgTemp    ?AvgTemp;
    :conditions ?Conditions.
    
 ?Conditions str:notMatches "Raining".
 
 ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Running;
    :inOut      :Out;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Running;
    :inOut              :Out;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Running;
    :inOut          :Out;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

#############################
# ACTIVITIES - RUNNING (IN) #
#############################

{
 ?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Running;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?participation
    rdf:type    :Participation;
    :profileID  :p0001;
    :activity   :Running;
    :inOut      :In;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.

 ?yesterday
    rdf:type        :Yesterday;
    :startTime      ?StartTime;
    :startTimeYDay  ?StartTimeYDay;
    :endTime        ?EndTime;
    :endTimeYDay    ?EndTimeYDay.
    
  ?SCP e:findall
    (?event_2
        {?event_2
            rdf:type :Event; 
            :calendarID     ?CalendarID; 
            :aspect         :Running;
            :tense          :Past; 
            :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
            :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].} ()).

 ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      :summer.
    
 ?forecast
    rdf:type    :Forecast;
    :location   ?Location;
    :dateTime   [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?AnyHour; :minute ?AnyMinute; :second ?AnySecond];
    :lowTemp    ?LowTemp;
    :highTemp   ?HighTemp;
    :avgTemp    ?AvgTemp;
    :conditions ?Conditions.

 ?AvgTemp math:notLessThan 20.
 
 ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Running;
    :inOut      :In;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Running;
    :inOut              :In;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Running;
    :inOut          :In;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

##############################
# ACTIVITIES - SWIMMING (IN) #
##############################

{
 ?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Swimming;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?participation
    rdf:type    :Participation;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.

 ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      :winter.
 
 ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Swimming;
    :inOut      :In;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Swimming;
    :inOut              :In;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Swimming;
    :inOut          :In;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

###############################
# ACTIVITIES - SWIMMING (OUT) #
###############################

{
 ?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Swimming;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?participation
    rdf:type    :Participation;
    :profileID  :p0001;
    :activity   :Swimming;
    :inOut      :In;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.

  ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      :summer.
 
  ?forecast
    rdf:type    :Forecast;
    :location   ?Location;
    :dateTime   [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?AnyHour; :minute ?AnyMinute; :second ?AnySecond];
    :lowTemp    ?LowTemp;
    :highTemp   ?HighTemp;
    :avgTemp    ?AvgTemp;
    :conditions "Sunny".
    
 ?AvgTemp math:notLessThan 27.
 
 ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Swimming;
    :inOut      :Out;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Swimming;
    :inOut              :Out;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Swimming;
    :inOut          :Out;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

############################
# ACTIVITIES - SKATE (OUT) #
############################

{
 ?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Skating;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?participation
    rdf:type    :Participation;
    :profileID  :p0001;
    :activity   :Skating;
    :inOut      :Out;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.
 
 ?season
    rdf:type    :Season;
    :day        ?StartDay;
    :month      ?StartMonth;
    :value      :winter.
 
  ?forecast
    rdf:type    :Forecast;
    :location   ?Location;
    :dateTime   [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?AnyHour; :minute ?AnyMinute; :second ?AnySecond];
    :lowTemp    ?LowTemp;
    :highTemp   ?HighTemp;
    :avgTemp    ?AvgTemp;
    :conditions ?Conditions.
    
 ?Conditions str:notMatches "Snowing".
 ?AvgTemp math:notGreaterThan   0.

 ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Skating;
    :inOut      :Out;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Skating;
    :inOut              :Out;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Skating;
    :inOut          :Out;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.

##########################
# ACTIVITIES - YOGA (IN) #
##########################

{
?calendar
    rdf:type        :Calendar;
    :profileID      :p0001;
    :calendarID     ?CalendarID.
    
 ?event
    rdf:type        :Event;
    :calendarID     ?CalendarID;
    :aspect         :Yoga;
    :tense          :Possible;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
            
 ?participation
    rdf:type    :Participation;
    :profileID  :p0001;
    :activity   :Yoga;
    :inOut      :In;
    :min        ?MinRSVP;
    :max        ?MaxRSVP.
 
  ?map
    rdf:type    :Map;
    :profileID  :p0001;
    :mapID      ?MapID.
    
 ?meetup
    rdf:type    :Meetup;
    :mapID      ?MapID;
    :activity   :Yoga;
    :inOut      :In;
    :location   ?Place. 
    
 ?level
    rdf:type            :Level;
    :profileID          :p0001;
    :activity           :Yoga;
    :inOut              :In;
    :location           ?Place;
    :duration           [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel       ?FitnessLevel.
    
 ?fitness
    rdf:type            :Fitness;
    :profileID          :p0001;
    :startDateTime      [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :expectedFitness    ?ExpectedFitness.
    
 ?ExpectedFitness math:notLessThan ?FitnessLevel.
 
 ?goodDuration
        rdf:type        :GoodDuration;
        :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
        :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
        :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute].
}
=&gt;
{
 _:myActivity
    rdf:type        :MyActivity;
    :profileID      :p0001;
    :activity       :Yoga;
    :inOut          :In;
    :minRSVP        ?MinRSVP;
    :maxRSVP        ?MaxRSVP;
    :startDateTime  [:year ?StartYear; :month ?StartMonth; :day ?StartDay; :hour ?StartHour; :minute ?StartMinute];
    :endDateTime    [:year ?EndYear; :month ?EndMonth; :day ?EndDay; :hour ?EndHour; :minute ?EndMinute];
    :location       ?Place;
    :duration       [:year ?DurYear; :month ?DurMonth; :day ?DurDay; :hour ?DurHour; :minute ?DurMinute];
    :fitnessLevel   ?FitnessLevel.
}.</span>
</pre>
</body>
</html>
